set(LLVM_LINK_COMPONENTS
  TextAPI
)

add_llvm_unittest(TextAPITests
  TextStubV1Tests.cpp
  TextStubV2Tests.cpp
  TextStubV3Tests.cpp
  TextStubV4Tests.cpp
)

target_link_libraries(TextAPITests PRIVATE LLVMTestingSupport)
